import { HttpUrlVariable } from '@/constants'
import type { Address } from '@/types/adress'
import RequestHttp from '@/utils/request'

// 获取地址列表
export const getAddressListAPI = () => {
  return RequestHttp.get<Address[]>(HttpUrlVariable.ADDRESS_LIST_URL)
}
